<?php if( !defined( 'MAIN_DIR' ) ) { header( 'Location: ' . dirname( PHP_SELF ) . '/' ); exit( ); }
	$headers = headers_sent( );
	if( !$headers )	{
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title><?php 'SITE FAILURE - S.W.A.T.'; ?></title>
	<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
	<link rel="icon" href="images/favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="include/styles.1.0.0.0.css" />
	<script language="javascript" type="text/javascript" src="include/functions.js"></script>
</head>
<body>
<?php
	}
?>
	<div style="position:absolute; left:0px; top:0px; right:0px; bottom:0px; cursor:default;" onclick="return false;">
		<table summary="Site Failure" width="100%" border="0" cellspacing="0" cellpadding="5" style="height: 100%;">
		<tr>
			<td height="100%" align="center" valign="middle">
				<table summary="Site Failure" border="0" cellspacing="0" cellpadding="10" style="border:1px solid #CCC;" bgcolor="#EEEEEE" class="text">
				<tr>
					<td align="left" valign="middle">
						<img src="images/cross.png" width="16" height="16" alt="Logout" border="0" />&nbsp;&nbsp;<span class="textSWAT"><b>S.W.A.T.</b></span>
						<br />
						<br />
						<b>&raquo; TERMINAL FAILURE &laquo;</b>
						<br />
						<b class="textError"><?php echo FINAL_ERROR ?></b>
					</td>
				</tr>
				</table>
			</td>
		</tr>
		</table>
	</div>
<?php
	if( !$headers )	{
?>
</body>
</html>
<?php
	}
?>